<template>
    <!-- <mt-header fixed :title="title?title:'便利超市'">
        <a @click="go" slot="left" v-if="!ishome">
            <mt-button icon="back"></mt-button>
        </a>
    </mt-header> -->

    <header class="mui-bar mui-bar-nav" :class="ishome?'homeheader':''">
        <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left" v-if="!ishome"></a>
        <h1 class="mui-title">{{title?title:'手机放价 电脑节 下午茶 车厘子海囤 运动 荣耀新品 百元空调'}}</h1>
    </header>
</template>

<script>
    export default {
        data() {
            return {

            }
        },
        methods: {
            go() {
                this.$router.go(-1);
            }
        },
        props: ['title', 'ishome']
    }
</script>

<style lang="scss" scoped>
    .homeheader{
        background: #99BBFF;
        h1{
            
        }
    }
</style>
